#/usr/bin/env python
#Copyright (C) 2008 Michael Schneider 
#Email: mischneider1 at gmail dot com
#This software program is under the GNU GPL 2.0

if __name__ == '__main__':
    import sys
    from distutils.core import setup
    
    NAME = 'ptweet'
    VERSION = '0.1.1'
    DESCRIPTION = 'Open-source twitter-client for text-terminals'
    AUTHOR = 'Michael Schneider'
    AUTHOR_EMAIL = 'mischneider1@gmail.com'
    URL = 'http://code.google.com/p/ptweet/'
    LICENSE = 'GPL 2.0'
    PLATFORMS = ['Any']
    CLASSIFIERS = [ 'Development Status :: 3 - Alpha',
                'Environment :: Console',
                'Intended Audience :: End Users/Desktop',
                'License :: OSI Approved :: GNU General Public License (GPL)',
                'Natural Language :: English',
                'Operating System :: OS Independent',
                'Programming Language :: Python',
                'Topic :: Communications' ]
    
    if sys.version < '2.2.3':
        from distutils.dist import DistributionMetadata
        DistributionMetadata.classifiers = None
        DistributionMetadata.download_url = None

    setup(name= NAME,
          version= VERSION,
          description= DESCRIPTION,

          author = AUTHOR,
          author_email = AUTHOR_EMAIL,
          
          url= URL,
          
          license = LICENSE,
          platforms = PLATFORMS,
    
          scripts = ['ptweet'],
          
          classifiers=CLASSIFIERS,
          requires=[
                    'stfl',
                    'Twitter',
                    'ConfigObj',
                    'Validator',
                    ],
         )
